package com.iwunu.gateway.service;

import java.util.List;
import java.util.Map;
import com.alibaba.fastjson.JSONObject;
import com.iwunu.gateway.entity.FLockMember;

public interface FaceLockMemberService {
	 	List<Map<String, Object>> selectFaceLockMembers(Integer lockId);
	 	List<Map<String, Object>> authList(Integer lockId);
	   int updateByLockIdAndUserId( Integer userId,Integer lockId);
	   int delByLockMemberId( Long lockMemberId);
	   int delByLockId( Integer lockId);
	   FLockMember sava(JSONObject fl);
	   int auth(Integer lockMemberId,Integer role);
	   List<Map<String, Object>> selectByUserFaceLocks(Integer userId);
	   Map<String, Object>  selectByAdminFaceLocks(String bussinessId,Integer pageSize,Integer currentPage,String name);
	   List<Map<String, Object>> selectMyFaceLocks(Integer userId);
	   FLockMember findFaceLockMember( Integer userId,Integer lockId);
	   FLockMember findById( Long id);
	   Map<String, Object>  findLockInfo( Integer userId,Integer lockId);
	   int changeMember(List<Integer> lockIds,Integer userId,String userNo);
	   int changePushMember(List<Integer> lockIds,Integer userId,String userNo);
	   int delByLockIds(List<Integer> lockIds);
}
